package javase2.day02;

import java.io.File;
import java.io.IOException;

/**
 * �ļ�ϵͳ���� 
 */
public class Demo4 {
  public static void main(String[] args) 
    throws IOException {
    File dir = new File("demo");//��������ʱ��û���ļ���
    System.out.println("������"+dir.exists());
    if(!dir.exists()){
      dir.mkdir();
    }
    System.out.println("������"+dir.exists());
    String path = dir.getCanonicalPath();//���·��
    System.out.println(path); 
    dir.delete();//ֻ��ɾ����ļ��У�
  }

}
